//
//  KLNetWorkManager.h
//  BIBILILI
//
//  Created by 123 on 2018/8/11.
//  Copyright © 2018年 WTF. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^SuccessBlock)(NSURLSessionDataTask * respones, NSDictionary * dict);
typedef void (^failureBlock)(NSURLSessionDataTask * respones, NSError * error);
typedef void (^completeBlock)(BOOL isTimeOut);

@interface KLNetWorkManager : NSObject
/**
 创建单例
 */
+(instancetype)shareManager;
/**
 普通请求用这个方法
 */
-(void)requestWithURL:(NSString *)URL requestMethod:(RequestMethod)requestMethod param:(NSMutableDictionary *)Param success:(SuccessBlock)success failure:(failureBlock)failure;
/**
 判断是否在其他设备登录
 */
//-(void)isLoadInOtherDevice:(completeBlock)complete;


@end
